package com.lenovo.leos.letools.db;

public class FileDownloadEntity {

	private int id;
	private String downpath;
	private int downlength;
	private int filelen;
	private int loadover;
	private int isloading;
	private String fileWholePath;
	private String topDirid;
	private String topDiridWholePath;
	
	public FileDownloadEntity() {
	}
	public FileDownloadEntity(int id, String downpath, int downlength, int filelen,
			int loadover, int isloading,String fileWholePath,String topDirid,String topDiridWholePath) {
		super();
		this.id = id;
		this.downpath = downpath;
		this.downlength = downlength;
		this.filelen = filelen;
		this.loadover = loadover;
		this.isloading = isloading;
		this.fileWholePath = fileWholePath;
		this.topDirid = topDirid;
		this.topDiridWholePath = topDiridWholePath;
	}
	
	public int getFilelen() {
		return filelen;
	}
	public void setFilelen(int filelen) {
		this.filelen = filelen;
	}
	public int getIsloading() {
		return isloading;
	}
	public void setIsloading(int isloading) {
		this.isloading = isloading;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getDownpath() {
		return downpath;
	}

	public void setDownpath(String downpath) {
		this.downpath = downpath;
	}

	public int getDownlength() {
		return downlength;
	}

	public void setDownlength(int downlength) {
		this.downlength = downlength;
	}

	public int getLoadover() {
		return loadover;
	}

	public void setLoadover(int loadover) {
		this.loadover = loadover;
	}
	public String getFileWholePath() {
		return fileWholePath;
	}
	public void setFileWholePath(String fileWholePath) {
		this.fileWholePath = fileWholePath;
	}
	public String getTopDirid() {
		return topDirid;
	}
	public void setTopDirid(String topDirid) {
		this.topDirid = topDirid;
	}
	public String getTopDiridWholePath() {
		return topDiridWholePath;
	}
	public void setTopDiridWholePath(String topDiridWholePath) {
		this.topDiridWholePath = topDiridWholePath;
	}
	@Override
	public String toString() {
		return "id:" + id + "--downpath:" + downpath + "--downlength:"
				+ downlength + "--loadover:" + loadover + "--filelen:"
				+ filelen+"--topDirid:"+topDirid;
	}
}
